package org.goobs.gui;

import java.awt.Component;
import java.awt.Image;

import javax.swing.JFrame;
import javax.swing.JPanel;


public class Animator {

	
	public boolean setBackground(String filename){
		
		return false;
	}
	
	public boolean registerImage(String handle, String filename){
		
		return false;
	}
	
	public Image getImage(String handle){
		return null;
	}
	
	public boolean move(String handle, int x, int y){
		return false;
	}
	
	public Component getWidget(){
				
		return new JPanel();
	}
	
	public static void createAndShowGUI(){
		final JFrame frame = new JFrame("Scaffold");
		Animator anim = new Animator();
		frame.add(anim.getWidget());
		frame.setVisible(true);
		
	}
	
	public static void main(String[] args){
		javax.swing.SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				createAndShowGUI();
			}
		});
	}
}
